var express = require('express');
var router = express.Router();
const userController = require('../controller/user');

router.post('/createUser', userController.createUserController);
router.post('/sysPushMsg', userController.sysPushMsg);
router.post('/createService', userController.createServiceController);
router.post('/serviceLogin', userController.serviceLoginController);
router.get('/serviceList', userController.serviceListController);
router.post('/uploadAvatar', userController.uploadAvatarController);
router.delete('/deleteService', userController.deleteServiceController);
router.post('/updateService', userController.updateServiceController);
router.get('/getUserList', userController.getUserListController);
router.get('/getChatList', userController.getChatListController);

module.exports = router;
